import * as assert from 'assert';


try{
    /** 递归判断对象字段是否相等，如果字段不是简单类型，继续递归，简单类型采用==判断 */
    assert.deepEqual({a:1,b:2},{a:'1',b:'2'},"两个对象不相等！");
    assert.deepEqual({a:1,b:2},{a:1,b:3},"两个对象不相等！");
}catch(err){
    console.log(err);
}